//
//  RankModel.m
//  Item A House
//
//  Created by dlios on 15/5/23.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "RankModel.h"

@implementation RankModel
- (void)dealloc
{
    [_kaipan_new_date release];
    [_sub_region_title release];
    [_region_title release];
    [_loupan_id release];
    [_loupan_name release];
    [_default_image release];
    [_tags release];
    [super dealloc];
}
- (id)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.region_title forKey:@"region_title"];
    [aCoder encodeObject:self.sub_region_title forKey:@"sub_region_title"];
    [aCoder encodeObject:self.tags forKey:@"tags"];
    NSString *str = [NSString stringWithFormat:@"%ld", (long)self.price];
    [aCoder encodeObject:str forKey:@"price"];
    [aCoder encodeObject:self.kaipan_new_date forKey:@"kaipan_new_date"];
}

@end
